package org.compression.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.model.auth.UserGroup;
import org.model.business.AduioAttr;
import org.model.business.AudioContent;
import org.model.comm.Page;

public interface BaseMapper<M> {

	
 	public List<M> getPageBookMagament(Page mPage);
    
 	public long getTotal();

 	public 	int deleteByPrimaryKey(M id);

	public int insert(M record);

	public int insertSelective(M record);

	public M selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(M record);

	int updateByPrimaryKey(M record);

	public List<M> selectName(M mAudioContents);


	
}
